<!DOCTYPE html>
<meta charset="utf-8">
<style>
html {
  writing-mode:vertical-rl;
}
.tcy {
  text-combine-upright:all;
}
div {
  font-family:Ahem;
  font-size:20px;
  line-height:1;
  height:7em;
  text-align:justify;
}
</style>
<div><span class="tcy">平成</span>ああWWWWW</div>
<div>ああ<span class="tcy">平成</span> WWWWW</div>
<div>あ<span class="tcy">平成</span>あWWWWW</div>
<div>W<span class="tcy">平成</span>あWWWWW</div>
<div>あ<span class="tcy">平成</span>W WWWWW</div>
<div>W<span class="tcy">平成</span>W WWWWW</div>
